package com.glodon.paas.activity.dao;

import java.util.List;

import com.glodon.paas.activity.dao.domain.ActivityDefinitionEntity;

public interface ActivityDefinitionDao {

    Long insertSelective(ActivityDefinitionEntity record);

    int deleteByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ActivityDefinitionEntity record);

    ActivityDefinitionEntity selectByPrimaryKey(Long id);

    List<ActivityDefinitionEntity> selectByAppId(Integer appId);

    List<ActivityDefinitionEntity> selectAll();

    ActivityDefinitionEntity getByActivityType(Long activityType);
    
    void reflashCache();
}
